home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / cpt / cpt.doc next >
Text File  |  1987-10-20  |  3KB  |  86 lines

  1.        CPT - C Language Precedence Trainer Copyright 1987
  2.                 by Rob Cohan All rights reserved
  3.  
  4.  
  5.  
  6. A  key  element  in  the rapid writing of error-free C code is a
  7. thourough  understanding  of the relative precedence of the 35 C
  8. language   operators.  Only  when  the  precedence  of  any  two
  9. operators  can  be  ranked  without  conscious  thought  can a C
  10. programmer write with efficiency.
  11.  
  12. CPT  was  developed  to  quickly train the user to the requisite
  13. level  of skill in a very short time.  Any errors will result in
  14. CPT    increasing    the    frequency   of   drilling   on   the
  15. troublesome  operators.   At  the end of a session, you may save
  16. the error statistics on disk so that the mix of operators in the
  17. next  session  will  reflect  the errors made in the current and
  18. previous sessions.
  19.  
  20.  
  21.                      Equipment Requirements
  22.                      ----------------------
  23.  
  24. An  IBM  PC/XT/AT or "Clone" with either Monochrome video, Color
  25. Graphics video or an emulator of either will do. 
  26.  
  27. A  generic  MSDOS verison of this program is available for those
  28. without PC type machines.
  29.  
  30. CPT will run in as little as 38 Kb of free memory.
  31.  
  32.                               Help
  33.                               ----
  34.  
  35. Help  is  available  at  almost  any time by entering a question
  36. mark.  The  help  screen  shows  the  precedence levels of all C
  37. language operators.
  38.  
  39.                           How to Exit
  40.                           -----------
  41.  
  42. Exiting  CPT  can be accomplished at almost any time by pressing
  43. Control+C   or   Control+Break.  You  will  then  be  given  the
  44. opportunity  quit  by pressing 'q' or to continue the session by
  45. pressing  any  other key, twice. If you choose to quit, you then
  46. are  given  the  choice  to  update the error logging file or to
  47. ignore  the errors made during this session (by pressing 'n' for
  48. no.)
  49.  
  50.                         Noise Pollution
  51.                         ---------------
  52.  
  53. To lend a more game-like aura to this program,  I added a bit of
  54. sound   to  the  signon  routine.  In  commercial  or  nocturnal
  55. environments where this might not be appropriate, just start the
  56. program with a lower case 'q' as the sole argument, for example:
  57.  
  58.                              CPT q <RETURN>
  59.  
  60.                        NOT PUBLIC DOMAIN
  61.                        -----------------
  62.  
  63. This  version  of  CPT is not in the public domain. However, you
  64. are  granted  a limited license to use it for your own training.
  65. If  you  use  it in a commercial environment and find it useful,
  66. possibly  you  would like to make a contribution which will help
  67. support  further  development efforts. Contributors will receive
  68. the latest version of CPT by return mail.
  69.  
  70.  
  71.  
  72.                         Rob Cohan
  73.                         Mr. Nameplate Companies
  74.                         P.O. Box 18148
  75.                         Phila., PA 19116-0148
  76.  
  77.  
  78.  
  79.                         Random Thoughts
  80.                         ---------------
  81. CPT was written in 8086 assembly code and Lattice C version 3.21.
  82.  
  83. Version stamping was done with the aid of DSTAMP, available on 
  84. better bulletin board systems nationwide.
  85.  
  86.